[INFO] cloning repository https://github.com/memotoro/advent-of-code-21
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memotoro/advent-of-code-21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3226c7ec00492e6c46003d72454b2e636808ee2e
[INFO] checking memotoro/advent-of-code-21 against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/memotoro/advent-of-code-21 on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/memotoro/advent-of-code-21
[INFO] finished tweaking git repo https://github.com/memotoro/advent-of-code-21
[INFO] tweaked toml for git repo https://github.com/memotoro/advent-of-code-21 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/memotoro/advent-of-code-21 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8430d5db58f00250f4a394edb1295b02d048c7c760104d5a86aad93f6d81e33d
[INFO] running `Command { std: "docker" "start" "-a" "8430d5db58f00250f4a394edb1295b02d048c7c760104d5a86aad93f6d81e33d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8430d5db58f00250f4a394edb1295b02d048c7c760104d5a86aad93f6d81e33d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8430d5db58f00250f4a394edb1295b02d048c7c760104d5a86aad93f6d81e33d", kill_on_drop: false }`
[INFO] [stdout] 8430d5db58f00250f4a394edb1295b02d048c7c760104d5a86aad93f6d81e33d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f60167b99b7801931d53e4ec2be5cbc7f224c674a657f8e53db116ee8d3deec
[INFO] running `Command { std: "docker" "start" "-a" "9f60167b99b7801931d53e4ec2be5cbc7f224c674a657f8e53db116ee8d3deec", kill_on_drop: false }`
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] 37 |             let value = match freq.get(key) {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:43:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 43 |                 let value_6 = match freq.get(&6) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:47:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 let value_8 = match freq.get(&8) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 let new_key_value = match freq.get(&new_key) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 56 |                 freq.insert(6, value_6);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 57 |                 freq.insert(8, value_8);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 58 |                 freq.insert(*key, value - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 59 |                 freq.insert(new_key, *new_key_value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 61 |                 freq.insert(*key, *value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2021` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "9f60167b99b7801931d53e4ec2be5cbc7f224c674a657f8e53db116ee8d3deec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f60167b99b7801931d53e4ec2be5cbc7f224c674a657f8e53db116ee8d3deec", kill_on_drop: false }`
[INFO] [stdout] 9f60167b99b7801931d53e4ec2be5cbc7f224c674a657f8e53db116ee8d3deec
